package com.css.apps.base.ip.action;

import com.css.apps.base.ip.service.IpService;
import com.css.core.model.IServiceResult;
import com.css.util.Ajax;
import com.css.webbase.webwork.action.AdminAction;

@SuppressWarnings("serial")
public class DelIp extends AdminAction {
	
	private String ids;

	@Override
	protected String adminGo() {
		IServiceResult<?> res = IpService.delIp(ids);
		result = Ajax.JSONResult(res.getResultCode(), res.getResultDesc());
		return res.toActionResult();
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

}
